<?php
    $page_list_1 = array('company','company_add','company_add_query','company_edit','company_edit_query','company_delete_query','','');
    $page_list_2 = array('customer','customer_add','customer_add_query','customer_edit','customer_edit_query','customer_delete_query','','');
    $page_list_3 = array('export');
    $page_list_4 = array('import','import_query');
?>
    
    <div class="grid_6" id="sidebar">
        <div id="submenu">
            <ul class="submenu">
                <li><a<?php if(in_array($_GET['s'],$page_list_1)){ echo ' class="current"';} ?> href="?m=customer&s=company" title="Company">Company</a></li>
                <li><a<?php if(in_array($_GET['s'],$page_list_2)){ echo ' class="current"';} ?> href="?m=customer&s=customer" title="Customer ">Customer</a></li>
                <li><a<?php if(in_array($_GET['s'],$page_list_3)){ echo ' class="current"';} ?> href="?m=customer&s=export" title="Export">Export</a></li>
                <li><a<?php if(in_array($_GET['s'],$page_list_4)){ echo ' class="current"';} ?> href="?m=customer&s=import" title="Import">Import</a></li>
            </ul>
        </div>
    </div><!-- end .grid_6 -->

